package user

import (
	"crmeb-common/global"
	"time"
)

// UserSign 签到记录表
type UserSign struct {
	global.BaseModel
	Uid int32 `json:"uid" gorm:"column=uid;comment:用户uid"`

	Title string `json:"title" gorm:"column=title;comment:签到说明"`

	Number int32 `json:"number" gorm:"column=number;comment:获得"`

	Balance int32 `json:"balance" gorm:"column=balance;comment:剩余"`

	Type bool `json:"type" gorm:"column=type;comment:类型，1积分，2经验"`

	CreateDay time.Time `json:"createDay" gorm:"column=create_day;comment:签到日期"`
}
